package com.example.adminsystem.req;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

public class RoleReq {

    @Data
    public static class AddRoleRequest {
        @Schema(description = "角色名称", example = "管理员", maxLength = 20)
        private String name;

        @Schema(description = "备注", example = "这管理员")
        private String remark;

    }

    @Data
    public static class RoleQuery {

        @Schema(description = "name", example = "管理员")
        private String name;
    }
}
